//
//  FCAirplayManager.h
//  FCBaseKit
//
//  Created by mac on 2021/3/17.
//  Copyright © 2021 Summer. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#define kFCAirplayManager [FCAirplayManager sharedManager]

NS_ASSUME_NONNULL_BEGIN

@interface FCAirplayManager : NSObject

+ (FCAirplayManager *)sharedManager;

+ (void)presenVc:(UIViewController * ) topVc avPlayer:(AVPlayer *)avPlay;


@property(nonatomic,assign)BOOL socketIsOnLine;//socket是否在线
/**
 断开socket
 */
-(void)closeSocket;

-(void)searchAirplayDeviceWithTimeOut:(CGFloat )timeout;

@property (nonatomic, copy) NSString *video_src;

@end

NS_ASSUME_NONNULL_END
